<script>
import Student from './components/Student'
import School from './components/School'

export default {
  name: "App",
  components: {
    Student,
    School
  },
  mounted() {

  }
}
</script>

<template>
  <div>
    <!--    子组件向父组件传递数据的方式1-->
    <School />
    <!--    子组件向父组件传递数据的方式2 组件自定义事件-->
    <Student />

  </div>
</template>

<style scoped>

</style>